package nju.bean.meeting.transporter.Request;


import nju.bean.meeting.data.User;
import nju.bean.meeting.transporter.Feedback.GetUserFeedback;

import org.junit.Test;

import junit.framework.TestCase;

public class GetUserRequestTest extends TestCase {

	@Test
	public void test() {
		
		String userName = "nju";
		
		GetUserRequest request = new GetUserRequest(userName);
		
		GetUserFeedback fb = (GetUserFeedback) request.deal();
		
		User u = fb.getUser();
		
		assertNotNull(u);
	}

}
